﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DatabaseModel" targetNamespace="http://tempuri.org/DatabaseModel.xsd" xmlns:mstns="http://tempuri.org/DatabaseModel.xsd" xmlns="http://tempuri.org/DatabaseModel.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="statisticsConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="statisticsConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.statisticsConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LogFilesTableAdapter" GeneratorDataComponentClassName="LogFilesTableAdapter" Name="LogFiles" UserDataComponentName="LogFilesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectName="[statistics].dbo.LogFiles" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[LogFiles] WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[LogFiles] ([SiteId], [LogFile], [CurrentLine], [Processed]) VALUES (@SiteId, @LogFile, @CurrentLine, @Processed)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LogFile" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="LogFile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CurrentLine" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CurrentLine" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Processed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Processed" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Id, SiteId, LogFile, CurrentLine, Processed FROM dbo.LogFiles</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[LogFiles] SET [SiteId] = @SiteId, [LogFile] = @LogFile, [CurrentLine] = @CurrentLine, [Processed] = @Processed WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LogFile" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="LogFile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CurrentLine" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CurrentLine" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Processed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Processed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="SiteId" DataSetColumn="SiteId" />
              <Mapping SourceColumn="LogFile" DataSetColumn="LogFile" />
              <Mapping SourceColumn="CurrentLine" DataSetColumn="CurrentLine" />
              <Mapping SourceColumn="Processed" DataSetColumn="Processed" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectName="[statistics].dbo.LogFiles" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByFile" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByFile" GeneratorSourceName="FillByFile" GetMethodModifier="Public" GetMethodName="GetDataByFile" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByFile" UserSourceName="FillByFile">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT CurrentLine, Id, LogFile, Processed, SiteId FROM LogFiles WHERE (LogFile LIKE @LogFile) AND (SiteId = @SiteId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="LogFile" ColumnName="LogFile" DataSourceName="[statistics].dbo.LogFiles" DataTypeServer="text" DbType="AnsiString" Direction="Input" ParameterName="@LogFile" Precision="0" ProviderType="Text" Scale="0" Size="2147483647" SourceColumn="LogFile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SiteId" ColumnName="SiteId" DataSourceName="[statistics].dbo.LogFiles" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PagesTableAdapter" GeneratorDataComponentClassName="PagesTableAdapter" Name="Pages" UserDataComponentName="PagesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectName="[statistics].dbo.Pages" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Pages] WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Pages] ([SiteId], [Url]) VALUES (@SiteId, @Url)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Url" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Id, SiteId, Url FROM dbo.Pages</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Pages] SET [SiteId] = @SiteId, [Url] = @Url WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Url" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="SiteId" DataSetColumn="SiteId" />
              <Mapping SourceColumn="Url" DataSetColumn="Url" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ExistsUrl" Modifier="Public" Name="ExistsUrl" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="ExistsUrl">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT 1 FROM Pages WHERE Url LIKE @Url AND SiteId = @SiteId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Url" ColumnName="Url" DataSourceName="[statistics].dbo.Pages" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@Url" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="SiteId" ColumnName="SiteId" DataSourceName="[statistics].dbo.Pages" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectName="[statistics].dbo.Pages" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="GetSiteId" Modifier="Public" Name="GetSiteId" QueryType="Scalar" ScalarCallRetval="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="GetSiteId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Id FROM Pages WHERE Url = @Url AND SiteId = @SiteId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Url" ColumnName="Url" DataSourceName="[statistics].dbo.Pages" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@Url" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="SiteId" ColumnName="SiteId" DataSourceName="[statistics].dbo.Pages" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SitesTableAdapter" GeneratorDataComponentClassName="SitesTableAdapter" Name="Sites" UserDataComponentName="SitesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectName="[statistics].dbo.Sites" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Sites] WHERE (([SiteId] = @Original_SiteId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SiteId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Sites] ([Name], [SiteName], [LogPath]) VALUES (@Name, @SiteName, @LogPath)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SiteName" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="SiteName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LogPath" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="LogPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT SiteId, Name, SiteName, LogPath FROM dbo.Sites</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Sites] SET [Name] = @Name, [SiteName] = @SiteName, [LogPath] = @LogPath WHERE (([SiteId] = @Original_SiteId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SiteName" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="SiteName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LogPath" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="LogPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SiteId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SiteId" DataSetColumn="SiteId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="SiteName" DataSetColumn="SiteName" />
              <Mapping SourceColumn="LogPath" DataSetColumn="LogPath" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectName="[statistics].dbo.Sites" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillById" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataById" GeneratorSourceName="FillById" GetMethodModifier="Public" GetMethodName="GetDataById" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataById" UserSourceName="FillById">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT LogPath, Name, SiteId, SiteName FROM Sites WHERE (SiteId = @SiteId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="SiteId" ColumnName="SiteId" DataSourceName="[statistics].dbo.Sites" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisitsTableAdapter" GeneratorDataComponentClassName="VisitsTableAdapter" Name="Visits" UserDataComponentName="VisitsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="statisticsConnectionString (Web.config)" DbObjectName="[statistics].dbo.Visits" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Visits] WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Visits] ([SiteId], [VisitorIp], [VisitorFirstTime], [VisitorLastTime], [EntrySiteId], [VisitorTotalActions], [Referer], [OS], [WebBrowser], [WebBrowserVersion], [Resolution], [TrafficSent], [TrafficGet], [Visits], [VisitorType]) VALUES (@SiteId, @VisitorIp, @VisitorFirstTime, @VisitorLastTime, @EntrySiteId, @VisitorTotalActions, @Referer, @OS, @WebBrowser, @WebBrowserVersion, @Resolution, @TrafficSent, @TrafficGet, @Visits, @VisitorType)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@VisitorIp" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="VisitorIp" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@VisitorFirstTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VisitorFirstTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@VisitorLastTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VisitorLastTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@EntrySiteId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="EntrySiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VisitorTotalActions" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VisitorTotalActions" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Referer" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Referer" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OS" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="OS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WebBrowser" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="WebBrowser" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WebBrowserVersion" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="WebBrowserVersion" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Resolution" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Resolution" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@TrafficSent" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TrafficSent" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@TrafficGet" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TrafficGet" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Visits" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Visits" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VisitorType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VisitorType" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Id, SiteId, VisitorIp, VisitorFirstTime, VisitorLastTime, EntrySiteId, VisitorTotalActions, Referer, OS, WebBrowser, WebBrowserVersion, Resolution, TrafficSent, TrafficGet, Visits, VisitorType FROM dbo.Visits</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Visits] SET [SiteId] = @SiteId, [VisitorIp] = @VisitorIp, [VisitorFirstTime] = @VisitorFirstTime, [VisitorLastTime] = @VisitorLastTime, [EntrySiteId] = @EntrySiteId, [VisitorTotalActions] = @VisitorTotalActions, [Referer] = @Referer, [OS] = @OS, [WebBrowser] = @WebBrowser, [WebBrowserVersion] = @WebBrowserVersion, [Resolution] = @Resolution, [TrafficSent] = @TrafficSent, [TrafficGet] = @TrafficGet, [Visits] = @Visits, [VisitorType] = @VisitorType WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SiteId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@VisitorIp" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="VisitorIp" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@VisitorFirstTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VisitorFirstTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@VisitorLastTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VisitorLastTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@EntrySiteId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="EntrySiteId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VisitorTotalActions" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VisitorTotalActions" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Referer" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Referer" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OS" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="OS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WebBrowser" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="WebBrowser" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WebBrowserVersion" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="WebBrowserVersion" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Resolution" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="Resolution" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@TrafficSent" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TrafficSent" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@TrafficGet" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TrafficGet" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Visits" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Visits" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VisitorType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VisitorType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="SiteId" DataSetColumn="SiteId" />
              <Mapping SourceColumn="VisitorIp" DataSetColumn="VisitorIp" />
              <Mapping SourceColumn="VisitorFirstTime" DataSetColumn="VisitorFirstTime" />
              <Mapping SourceColumn="VisitorLastTime" DataSetColumn="VisitorLastTime" />
              <Mapping SourceColumn="EntrySiteId" DataSetColumn="EntrySiteId" />
              <Mapping SourceColumn="VisitorTotalActions" DataSetColumn="VisitorTotalActions" />
              <Mapping SourceColumn="Referer" DataSetColumn="Referer" />
              <Mapping SourceColumn="OS" DataSetColumn="OS" />
              <Mapping SourceColumn="WebBrowser" DataSetColumn="WebBrowser" />
              <Mapping SourceColumn="WebBrowserVersion" DataSetColumn="WebBrowserVersion" />
              <Mapping SourceColumn="Resolution" DataSetColumn="Resolution" />
              <Mapping SourceColumn="TrafficSent" DataSetColumn="TrafficSent" />
              <Mapping SourceColumn="TrafficGet" DataSetColumn="TrafficGet" />
              <Mapping SourceColumn="Visits" DataSetColumn="Visits" />
              <Mapping SourceColumn="VisitorType" DataSetColumn="VisitorType" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DatabaseModel" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DatabaseModel" msprop:Generator_DataSetName="DatabaseModel" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="LogFiles" msprop:Generator_UserTableName="LogFiles" msprop:Generator_RowDeletedName="LogFilesRowDeleted" msprop:Generator_RowChangedName="LogFilesRowChanged" msprop:Generator_RowClassName="LogFilesRow" msprop:Generator_RowChangingName="LogFilesRowChanging" msprop:Generator_RowEvArgName="LogFilesRowChangeEvent" msprop:Generator_RowEvHandlerName="LogFilesRowChangeEventHandler" msprop:Generator_TableClassName="LogFilesDataTable" msprop:Generator_TableVarName="tableLogFiles" msprop:Generator_RowDeletingName="LogFilesRowDeleting" msprop:Generator_TablePropName="LogFiles">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
              <xs:element name="SiteId" msprop:Generator_UserColumnName="SiteId" msprop:Generator_ColumnVarNameInTable="columnSiteId" msprop:Generator_ColumnPropNameInRow="SiteId" msprop:Generator_ColumnPropNameInTable="SiteIdColumn" type="xs:int" />
              <xs:element name="LogFile" msprop:Generator_UserColumnName="LogFile" msprop:Generator_ColumnVarNameInTable="columnLogFile" msprop:Generator_ColumnPropNameInRow="LogFile" msprop:Generator_ColumnPropNameInTable="LogFileColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CurrentLine" msprop:Generator_UserColumnName="CurrentLine" msprop:Generator_ColumnVarNameInTable="columnCurrentLine" msprop:Generator_ColumnPropNameInRow="CurrentLine" msprop:Generator_ColumnPropNameInTable="CurrentLineColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Processed" msprop:Generator_UserColumnName="Processed" msprop:Generator_ColumnVarNameInTable="columnProcessed" msprop:Generator_ColumnPropNameInRow="Processed" msprop:Generator_ColumnPropNameInTable="ProcessedColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Pages" msprop:Generator_UserTableName="Pages" msprop:Generator_RowDeletedName="PagesRowDeleted" msprop:Generator_RowChangedName="PagesRowChanged" msprop:Generator_RowClassName="PagesRow" msprop:Generator_RowChangingName="PagesRowChanging" msprop:Generator_RowEvArgName="PagesRowChangeEvent" msprop:Generator_RowEvHandlerName="PagesRowChangeEventHandler" msprop:Generator_TableClassName="PagesDataTable" msprop:Generator_TableVarName="tablePages" msprop:Generator_RowDeletingName="PagesRowDeleting" msprop:Generator_TablePropName="Pages">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="SiteId" msprop:Generator_UserColumnName="SiteId" msprop:Generator_ColumnVarNameInTable="columnSiteId" msprop:Generator_ColumnPropNameInRow="SiteId" msprop:Generator_ColumnPropNameInTable="SiteIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Url" msprop:Generator_UserColumnName="Url" msprop:Generator_ColumnVarNameInTable="columnUrl" msprop:Generator_ColumnPropNameInRow="Url" msprop:Generator_ColumnPropNameInTable="UrlColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Sites" msprop:Generator_UserTableName="Sites" msprop:Generator_RowDeletedName="SitesRowDeleted" msprop:Generator_RowChangedName="SitesRowChanged" msprop:Generator_RowClassName="SitesRow" msprop:Generator_RowChangingName="SitesRowChanging" msprop:Generator_RowEvArgName="SitesRowChangeEvent" msprop:Generator_RowEvHandlerName="SitesRowChangeEventHandler" msprop:Generator_TableClassName="SitesDataTable" msprop:Generator_TableVarName="tableSites" msprop:Generator_RowDeletingName="SitesRowDeleting" msprop:Generator_TablePropName="Sites">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SiteId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SiteId" msprop:Generator_ColumnVarNameInTable="columnSiteId" msprop:Generator_ColumnPropNameInRow="SiteId" msprop:Generator_ColumnPropNameInTable="SiteIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SiteName" msprop:Generator_UserColumnName="SiteName" msprop:Generator_ColumnVarNameInTable="columnSiteName" msprop:Generator_ColumnPropNameInRow="SiteName" msprop:Generator_ColumnPropNameInTable="SiteNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LogPath" msprop:Generator_UserColumnName="LogPath" msprop:Generator_ColumnVarNameInTable="columnLogPath" msprop:Generator_ColumnPropNameInRow="LogPath" msprop:Generator_ColumnPropNameInTable="LogPathColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Visits" msprop:Generator_UserTableName="Visits" msprop:Generator_RowDeletedName="VisitsRowDeleted" msprop:Generator_RowChangedName="VisitsRowChanged" msprop:Generator_RowClassName="VisitsRow" msprop:Generator_RowChangingName="VisitsRowChanging" msprop:Generator_RowEvArgName="VisitsRowChangeEvent" msprop:Generator_RowEvHandlerName="VisitsRowChangeEventHandler" msprop:Generator_TableClassName="VisitsDataTable" msprop:Generator_TableVarName="tableVisits" msprop:Generator_RowDeletingName="VisitsRowDeleting" msprop:Generator_TablePropName="Visits">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="SiteId" msprop:Generator_UserColumnName="SiteId" msprop:Generator_ColumnVarNameInTable="columnSiteId" msprop:Generator_ColumnPropNameInRow="SiteId" msprop:Generator_ColumnPropNameInTable="SiteIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="VisitorIp" msprop:Generator_UserColumnName="VisitorIp" msprop:Generator_ColumnVarNameInTable="columnVisitorIp" msprop:Generator_ColumnPropNameInRow="VisitorIp" msprop:Generator_ColumnPropNameInTable="VisitorIpColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VisitorFirstTime" msprop:Generator_UserColumnName="VisitorFirstTime" msprop:Generator_ColumnVarNameInTable="columnVisitorFirstTime" msprop:Generator_ColumnPropNameInRow="VisitorFirstTime" msprop:Generator_ColumnPropNameInTable="VisitorFirstTimeColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="VisitorLastTime" msprop:Generator_UserColumnName="VisitorLastTime" msprop:Generator_ColumnVarNameInTable="columnVisitorLastTime" msprop:Generator_ColumnPropNameInRow="VisitorLastTime" msprop:Generator_ColumnPropNameInTable="VisitorLastTimeColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EntrySiteId" msprop:Generator_UserColumnName="EntrySiteId" msprop:Generator_ColumnVarNameInTable="columnEntrySiteId" msprop:Generator_ColumnPropNameInRow="EntrySiteId" msprop:Generator_ColumnPropNameInTable="EntrySiteIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="VisitorTotalActions" msprop:Generator_UserColumnName="VisitorTotalActions" msprop:Generator_ColumnVarNameInTable="columnVisitorTotalActions" msprop:Generator_ColumnPropNameInRow="VisitorTotalActions" msprop:Generator_ColumnPropNameInTable="VisitorTotalActionsColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Referer" msprop:Generator_UserColumnName="Referer" msprop:Generator_ColumnVarNameInTable="columnReferer" msprop:Generator_ColumnPropNameInRow="Referer" msprop:Generator_ColumnPropNameInTable="RefererColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OS" msprop:Generator_UserColumnName="OS" msprop:Generator_ColumnVarNameInTable="columnOS" msprop:Generator_ColumnPropNameInRow="OS" msprop:Generator_ColumnPropNameInTable="OSColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="WebBrowser" msprop:Generator_UserColumnName="WebBrowser" msprop:Generator_ColumnVarNameInTable="columnWebBrowser" msprop:Generator_ColumnPropNameInRow="WebBrowser" msprop:Generator_ColumnPropNameInTable="WebBrowserColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="WebBrowserVersion" msprop:Generator_UserColumnName="WebBrowserVersion" msprop:Generator_ColumnVarNameInTable="columnWebBrowserVersion" msprop:Generator_ColumnPropNameInRow="WebBrowserVersion" msprop:Generator_ColumnPropNameInTable="WebBrowserVersionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Resolution" msprop:Generator_UserColumnName="Resolution" msprop:Generator_ColumnVarNameInTable="columnResolution" msprop:Generator_ColumnPropNameInRow="Resolution" msprop:Generator_ColumnPropNameInTable="ResolutionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TrafficSent" msprop:Generator_UserColumnName="TrafficSent" msprop:Generator_ColumnVarNameInTable="columnTrafficSent" msprop:Generator_ColumnPropNameInRow="TrafficSent" msprop:Generator_ColumnPropNameInTable="TrafficSentColumn" type="xs:long" minOccurs="0" />
              <xs:element name="TrafficGet" msprop:Generator_UserColumnName="TrafficGet" msprop:Generator_ColumnVarNameInTable="columnTrafficGet" msprop:Generator_ColumnPropNameInRow="TrafficGet" msprop:Generator_ColumnPropNameInTable="TrafficGetColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Visits" msprop:Generator_UserColumnName="Visits" msprop:Generator_ColumnVarNameInTable="columnVisits" msprop:Generator_ColumnPropNameInRow="Visits" msprop:Generator_ColumnPropNameInTable="VisitsColumn" type="xs:int" minOccurs="0" />
              <xs:element name="VisitorType" msprop:Generator_UserColumnName="VisitorType" msprop:Generator_ColumnVarNameInTable="columnVisitorType" msprop:Generator_ColumnPropNameInRow="VisitorType" msprop:Generator_ColumnPropNameInTable="VisitorTypeColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LogFiles" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="Pages_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Pages" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="Sites_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Sites" />
      <xs:field xpath="mstns:SiteId" />
    </xs:unique>
    <xs:unique name="Visits_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Visits" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_LogFiles_Sites" msdata:parent="Sites" msdata:child="LogFiles" msdata:parentkey="SiteId" msdata:childkey="SiteId" msprop:Generator_UserRelationName="FK_LogFiles_Sites" msprop:Generator_RelationVarName="relationFK_LogFiles_Sites" msprop:Generator_UserChildTable="LogFiles" msprop:Generator_UserParentTable="Sites" msprop:Generator_ParentPropName="SitesRow" msprop:Generator_ChildPropName="GetLogFilesRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>